
/* 基础设置，版心，很多模块会用到 */
.container {
    width: 1190px;
    margin: 0 auto;
}

/* 顶部导航条start */
.topbar {
    height: 30px;
    background-color: #ECECEC;
}

.welcome { /* 行内元素垂直居中，找父类，行高=高度 */
    height: 30px;
    line-height: 30px;
    font-size: 0px;
    color: #666;
}

.welcome span, .welcome a {
    font-size: 12px;
}

.welcome .hello { /* 请 与左边设置间距 */
    margin-right: 28px;
}

.welcome .login {
    padding-right: 10px;
    border-right: 1px solid #666;
}

.welcome .register {
    padding-left: 10px;
}
/* 顶部导航条end */

/* 右侧导航区 start*/
.topbar .list {
    height: 30px;
    line-height: 30px;
}
.topbar .list li {
    float: left;
/*     padding-left: 15px;
    padding-right: 15px; */
    /* border-right: 1px solid #666; */ /* 给a 加，给li加高度太高 */
}

.topbar .list li a {
    padding: 0 15px;
    border-right: 1px solid #666;
}

.topbar .list li:first-child a {
    padding-left: 0;
}

.topbar .list li:last-child a {
    padding-right: 0;
    border-right: 0;
}

.header {
    height: 120px;
    background-color: skyblue;
}

.header .search form {
   margin-top: 42px;
   font-size: 0;
}

.header .search input {
    width: 508px;
    height: 34px;
    border: 1px solid #DD302D;
}
.header .search button {
    width: 80px;
    height: 36px;
    background-color: #DD302D;
    vertical-align: top;/* 基线对齐 */
    background-image: url(../images/serch_icon.png); 
    background-repeat: no-repeat;
    background-position: 28px 6px;   
}
/* 右侧导航区 end*/

/* 主导航栏start */
.main-nav {
    height: 48px;
    border-bottom: 1px solid #DD302D;
}

.main-nav .all-types {
    width: 190px;
    height: 48px;
    line-height: 48px;
    background-color: #DD302D;
    text-align: center;
    font-size: 16px;
    color: white;
}

.main-nav-list {
    height: 48px;
    line-height: 48px;
}

.main-nav-list li {
    float: left;
    margin: 0 10px;
    font-size: 16px;
}

.main-content {
    margin-top: 10px;
}

.main-content .slide-nav {
    width: 190px;
    height: 458px;
    background-color: #F4F4F4;
}

.main-content .slide-nav li {
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    padding-left: 16px; /* 由于背景色原因，故这里写padding，而不是margin */
}

.main-content .slide-nav li:hover {
    background-color: #DD302D; /* 背景色填充padding，但不填充margin */
}

.main-content .slide-nav li:hover a {
    color: white;
}

.main-content .banner {
    width: 690px;
    height: 458px;
    background-color: green;
    margin: 0 10px;
}

.main-content .slide-other {
    width: 290px;
    height: 458px;
    background-color: orange;
}


